package com.sanrenzu.everybodytv.http;

import com.sanrenzu.everybodytv.bean.zxb.ColumItemBean;
import com.sanrenzu.everybodytv.bean.zxb.VideoItemBean;
import com.sanrenzu.everybodytv.bean.zxb.ZhiBoBean;
import com.sanrenzu.everybodytv.config.UrlConfig;

import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * Created by My on 2016/8/30.
 */
public interface IDataBean {

    //http://www.quanmin.tv/json/categories/list.json?08121124&device=869515026912862&v=2.1.3&screen=2&ch=wandoujia&sh=1920&sw=1080&uid=1626943&net=0&ver=4&os=1
    @GET(UrlConfig.Path.COLUMNITEMBEAN_URL)
    Call<List<ColumItemBean>> getVerticalColumItem();

    @GET(UrlConfig.Path.COLUMNZHIBO_URL)
    Call<ZhiBoBean> getVerticalZhiBo(@Path("rommid") String roomid);

    //http://www.quanmin.tv/json/categories/lol/list.json?09050020&uid=QO8PE69STWW4G6WO&screen=2&os=1&v=2.1.3&device=865168025985085&ch=OT_wdjcpd&ver=4&sh=1280&net=0&sw=720
    //
    @GET(UrlConfig.Path.VIDEOITEMBEAN_URL)
    Call<VideoItemBean> getVerticalVideoItem(@Path("name") String name);
}
